#include <iostream>
#include <future>
using namespace std;

int calculate_square(int x)
{
    return x * x;
};
int main()
{
    future<int> result = async(calculate_square, 5);
    cout << "Square:" << result.get() << endl;
    return 0;
}